Add some more missing nullable annotations
authorTimm Bäder <mail@baedert.org>
Tue, 1 Dec 2015 12:40:46 +0000 (13:40 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 1 Dec 2015 12:41:35 +0000 (13:41 +0100)
gtk/gtkgrid.c
gtk/gtklistbox.c
gtk/gtkwindow.c

index 880247f6f01cbca424e0127c5ac89e3d28f75e4a..6ba8c0ce42ace635f1ccb5d83a3dd8a027bbeaa0 100644 (file)
@@ -1951,7 +1951,7 @@ gtk_grid_attach_next_to (GtkGrid         *grid,
  * Gets the child of @grid whose area covers the grid
  * cell whose upper left corner is at @left, @top.
  *
- * Returns: (transfer none): the child at the given position, or %NULL
+ * Returns: (transfer none) (nullable): the child at the given position, or %NULL
  *
  * Since: 3.2
  */
index f9b74b7f41c9172ffebd13f6b864b80ccc01fc8b..6a875bf46da0fe69d9a3e0a81b059bc62b08219d 100644 (file)
@@ -653,7 +653,7 @@ gtk_list_box_get_selected_row (GtkListBox *box)
  * If @_index is negative or larger than the number of items in the
  * list, %NULL is returned.
  *
- * Returns: (transfer none): the child #GtkWidget or %NULL
+ * Returns: (transfer none) (nullable): the child #GtkWidget or %NULL
  *
  * Since: 3.10
  */
@@ -3332,7 +3332,7 @@ gtk_list_box_row_changed (GtkListBoxRow *row)
  * in a #GtkListBoxUpdateHeaderFunc to see if there is a header
  * set already, and if so to update the state of it.
  *
- * Returns: (transfer none): the current header, or %NULL if none
+ * Returns: (transfer none) (nullable): the current header, or %NULL if none
  *
  * Since: 3.10
  */
index 4be10349afda7c9bce757b0d15691cd27056f514..849ff8c1969a7988b45746ea574b5b558b6fbaf6 100644 (file)
@@ -1118,7 +1118,7 @@ gtk_window_class_init (GtkWindowClass *klass)
   /**
    * GtkWindow:set-focus:
    * @window: the window which received the signal
-   * @widget: the newly focused widget (or %NULL for no focus)
+   * @widget: (nullable): the newly focused widget (or %NULL for no focus)
    *
    * This signal is emitted whenever the currently focused widget in
    * this window changes.